gtk-demo: Cosmetic change to the css shadows demo
authorMatthias Clasen <mclasen@redhat.com>
Sat, 29 Aug 2020 20:42:30 +0000 (16:42 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 29 Aug 2020 20:42:30 +0000 (16:42 -0400)
Make the text view in the bottom take up the bulk
of the window, as it used to be.

demos/gtk-demo/css_shadows.c

index 74236c6f3c0e45f97f7c44ec6657001cafe83f56..cb534a451c672b8cbf478fda11eb81eab70fe48a 100644 (file)
@@ -106,6 +106,7 @@ do_css_shadows (GtkWidget *do_widget)
 
       child = create_toolbar ();
       gtk_paned_set_start_child (GTK_PANED (paned), child);
+      gtk_paned_set_resize_start_child (GTK_PANED (paned), FALSE);
 
       text = gtk_text_buffer_new (NULL);
       gtk_text_buffer_create_tag (text,